Sitemanager error

SELECT image, align, alt, border, border_color FROM products_images WHERE cat = cisco%207960.JPG AND type = 'large'
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'JPG AND type = 'large'' at line 1

Backtrace

/home/sitemanager/admin/lib/database.php 15 sm_error
/home/sitemanager/admin/apps/products/content/default.php 726 dbexec
/home/sitemanager/admin/apps/products/content/category.php 9 sm_app_products_image
/home/sitemanager/admin/apps/products/content/default.php 211 include
/home/sitemanager/admin/lib/std_index.php 233 sm_app_products